<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<link rel="stylesheet" type="text/css" href="/vraptor-blank-project/estilo.css">
<title>Lista de Alimentos</title>
</head>
<body>


<ul>
<c:forEach items="${alimentoList}" var="alimento">
<li>${alimento.id} - ${alimento.nome} ${alimento.descr}
<a href="${linkTo[AlimentoController].delete}?id=${alimento.id}">Remover</a> - 
<a href="${linkTo[AlimentoController].edit}?id=${alimento.id}">Editar</a> </li>

</c:forEach>
</ul>


<a href="${linkTo[AlimentoController].addA}">Adicionar Novo Evento</a>

</body>
</html>
